package com.jk1123.us.core.statistics;

import com.jk1123.us.core.ShortUrl;

import java.util.Map;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2021-09-03 05:19
 * @description
 */
public interface StatisticsCollector {
    /**
     * 收集统计信息
     * @param url
     * @param statistic
     */
    void collect(ShortUrl url, Statistic statistic);
}
